package com.homelock.mapper;

import com.homelock.domain.query.ComOpenRecordQuery;
import com.homelock.vo.ComAlarmRecordVo;
import com.homelock.vo.OpenDoorRecordVO;

import java.util.List;
import java.util.Map;

/**
 * 自定义开门记录查询Mapper
 */
public interface ComOpenDoorRecordMapper {

    /**
     * 物业相关的报警记录
     * @param paramMap
     * @return
     */
    List<ComAlarmRecordVo> queryAlarmPageListByCommunityId(Map paramMap);

    /**
     * 总数
     * @param paramMap
     * @return
     */
    Integer  countAlarmPageListByCommunityId(Map paramMap);
}
